package com.llf.Pojo;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Repository;

import java.util.Date;

@Data
@NoArgsConstructor
@Repository
public class Employee {
    private Integer id;
    private String lastName;
    private String  email;
    private Integer gender;//0:男  1：女
    private Date birth;
    private Integer departmentid;
    private String departmentname;


    public Employee(Integer id, String lastName, String email, Integer gender, Date birth, Integer departmentid) {
        this.id = id;
        this.lastName = lastName;
        this.email = email;
        this.gender = gender;
        this.birth = birth;
        this.departmentid = departmentid;

    }
}
